<link rel="stylesheet" href="public/css/home_baby.css">
<div ng-controller="home_babyController">
	<header class="home_baby_header">
		<div class="yxk_btn_container">
			<a href="javascript:history.go(-1)">
				<span></span>
			</a>
			<h1>宝宝服饰</h1>
		</div>
	</header>
	<div class="yxk_bigPic">
		<div>
			<img src={{special.banner}} alt="">
			<div order-time='2'
		        order-time-ser='vm.serverTime'
		        order-time-ord='vm.createTime'
		        order-time-state=''
		    ></div>
		</div>	
	</div>
	<div class="yxk_goodsListContiner">
		<ul class="yxk_goodsList">
			<li ng-click=changeHave() ng-class="{yxk_haveGoods:!ishave}"><span ng-class="{yxk_have:ishave,yxk_nohave:!ishave}"></span>有货</li>
			<li ng-click=changeMoods() ng-class="{yxk_moods:!ismoods}">人气</li>
			<li ng-click=changePrice() ng-class="{yxk_normalPrice:i}"><span ng-class="{yxk_price:!i,yxk_priceUp:!k,yxk_priceDown:!j}"></span>价格
				
			</li>
			<li ng-click=changeChoice() ng-class="{yxk_haveChoice:isChoice}"><span ng-class="{yxk_choose:!isChoice,yxk_choose2:isChoice}"></span>筛选</li>
			<li ng-click=changeType()><span ng-class="{yxk_arrange:isActive,yxk_arrange1:!isActive}"></span></li>
		</ul>
	</div>

	<ul class="home_baby_main">
		<li ng-class="{yxk_smallContainerfirst:isActive,yxk_smallContainersecond:!isActive}" ng-repeat="good in goods | orderBy:yxk_orderKey:yxk_bol">
			<a ui-sref="goodsShow"}>
				<img ng-src={{good.goods_thumb}} alt="">
				<div>
					<p>{{good.goods_name}}</p>
					<p>已售{{good.sold_number}}件</p>
					<p>
						<span>¥{{good.shop_price}}</span>
						<span>¥{{good.market_price}}</span>
						<span>{{good.discount_rate}}折</span>
					</p>
				</div>
			</a>
		</li>
	</ul>
	<div class="yxk_cover" ng-class="{yxk_coverDisplay:isCover}"></div>
	<div class="yxk_moreChoice" ng-class="{yxk_moreChoice:!isCover,yxk_moreChoiceDisplay:isCover}">
		<div class="yxk_moreChoice_top">
			<ul class="yxk_moreChoiceList">
				<li ng-click="changeBrand()" ng-class="{yxk_brand:!isBrand}">品牌</li>
				<li ng-click="changeBrand()" ng-class="{yxk_brand:isBrand}">国家</li>
			</ul>
			<div class="yxk_moreChoiceContent">
				<ul class="yxk_brandMoreChoiceContent" ng-class="{yxk_brandDisplay:isBrand}">
				    <li ng-repeat="tag in tags" ng-class="{active:(selectedTag.code == tag.code)}">
				        <span ng-click="onSelect(tag)">{{tag.name}}<span></span></span>
				    </li>
				</ul>
				<ul class="yxk_brandMoreChoiceContent" ng-class="{yxk_brandDisplay:!isBrand}">
					<li ng-repeat="tag in tagall" ng-class="{active:(selectedTag1.code == tag.code)}">
				        <span ng-click="onSelect1(tag)">{{tag.content}}<span></span></span>
				    </li>
				</ul>
			</div>	
		</div>
		<div class="yxk_moreChoice_footer">
			<div class="yxk_haveChosen">
				已选择:
				<span>{{selectedTag.name}}</span>
				<span>{{selectedTag1.content}}</span>
			</div>
			<div class="yxk_toSet">
				<span ng-class="yxk_chooseReset" ng-click="onReset()">重置</span>
				<span class="yxk_chooseSure" ng-click="onSure()">确定</span>
			</div>
		</div>
	</div>
</div>